#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QString>
#include "gamewindow.h"

namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    QString Name;

public:
    explicit MainWindow(QString name, QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    QList<GameWindow *> *wind;
    void closeEvent(QCloseEvent *event);


private slots:
    void on_pushButton_exit_pressed();
    void on_pushButton_play_pressed();
};

#endif // MAINWINDOW_H
